﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="OA_DepartMentList.aspx.cs" Inherits="ArtLand.OA.Project.SystemMgr.OA_DepartMentList" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <ext:PageManager ID="PageManager1" runat="server" AutoSizePanelID="MgrTree" />
    <ext:Tree runat="server" ID="MgrTree" AutoScroll="true" ShowBorder="false" ShowHeader="false" OnNodeCommand="Tree1_NodeCommand">
        <Toolbars>
            <ext:Toolbar ID="Toolbar2" runat="server">
                <Items>
                    <ext:Button ID="btnTop" Text="添加主类别" Icon="Add" EnablePostBack="false" runat="server">
                    </ext:Button>
                    <ext:Button ID="btnChild" Text="添加子类别" Icon="Add" EnablePostBack="false" runat="server">
                    </ext:Button>
                    
                    <ext:Button ID="btnEdit" Text="修改当前类别" Icon="ApplicationEdit" EnablePostBack="false"
                        runat="server">
                    </ext:Button>
                    <ext:ToolbarSeparator></ext:ToolbarSeparator>
                    <ext:Button ID="btnDel" Text="删除当前类别" ConfirmText="你确定要删除当前选中类别吗？" ConfirmTarget="Top"
                        Icon="Delete" EnablePostBack="true" OnClick="DeleteNode_Click" runat="server">
                    </ext:Button>
                    <ext:ToolbarSeparator></ext:ToolbarSeparator>
                    <ext:Button runat="server" ID="btnSetPower" Text="设定权限" Icon="Key" OnClick="btnSetPower_Click"></ext:Button>
                    <ext:ToolbarFill></ext:ToolbarFill>
                    <ext:Button ID="btnReload" Text="刷新" Icon="Reload"
                        EnablePostBack="true" OnClick="page_reload" runat="server">
                    </ext:Button>
                </Items>
            </ext:Toolbar>
        </Toolbars>
    </ext:Tree>
    <ext:Window ID="Window1" Title="编辑" Popup="false" EnableIFrame="true" runat="server"
        CloseAction="HidePostBack" EnableConfirmOnClose="true" IFrameUrl="about:blank"
        Target="Top" IsModal="True" Width="400px" Height="200px">
    </ext:Window>
    <ext:Window ID="Window2" Title="编辑" Popup="false" EnableIFrame="true" runat="server"
        CloseAction="HidePostBack" EnableConfirmOnClose="true" IFrameUrl="about:blank"
        Target="Top" IsModal="True" Width="400px" Height="200px">
    </ext:Window>
        <ext:Window ID="Window3" Title="编辑" Popup="false" EnableIFrame="true" runat="server"
        CloseAction="HidePostBack" EnableConfirmOnClose="true" IFrameUrl="about:blank" Target="Top" IsModal="True" Width="550px" Height="550px">
    </ext:Window>
    </form>
</body>
</html>
